hive insert values 方式 |
您所在的位置:网站首页 › insert into 分区表 › hive insert values 方式 |
尽量避免以下得方式插入数据,可能报错,资源不足 可以更改为 insert into table fct_si_eei_level_gp values('IDLC_RETI_CURR_AGE', '离退休人员年龄', '40', '40岁及以下', '0', '40', DATE'1990-01-01', DATE'9999-12-31', current_timestamp()), ('IDLC_RETI_CURR_AGE', '离退休人员年龄', '41', '41岁', '40', '41', DATE'1990-01-01', DATE'9999-12-31', current_timestamp()) 拓展 显示详细数据库信息 desc database extended db-hive; 删除不为空的数据库 drop database db_hive cascade; 创建普通表 create table if not exists student( id int ,name string) row format delimited fields terminated by ‘\t’ location ‘/user/warehouse/student’; 插入数据 insert into student values(1001,“ |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |